let data = [{
    "create_time": "",
    "value": {
        "Patrol": "ok",
        "BES_status": "ok",
        "server_status": "ok",
        "remark": "",
        "key": "LGdnJdPcgbUcQTLr"
    }
}]

let mydata = []
for (let i = 0; i < data.length; i++) {
    obj = {
        "create_time": data[i].create_time,
        "Patrol": data[i].value.Patrol,
        "BES_status": data[i].value.BES_status,
        "server_status": data[i].value.server_status,
        "remark": data[i].value.remark,
        "key": data[i].value.key
    }
    // 执行渲染 
    var table_html = `<tr>
                        <td>$obj.create_time</td>
                        <td>$obj.Patrol</td>
                        <td>$obj.server_status</td>
                        <td>$obj.BES_status</td>
                      </tr>`
    $("#count_body").append(table_html)
}

// 渲染页面 


let myData = [
        {
            "create_time": "",
            "Patrol": {
                    "temperature_status":"ok",
                    "electric_status":"ok",
                    "environment_status":"ok"
                },
            "BES_status": "ok",
            "server_status": "ok",
            "remark": "",
            // ...
            "key": "LGdnJdPcgbUcQTLr"
        }
]



let newdata = {
    "Patrol":
        {
            "temperature_status":{
                "befor_up":"",
                "after_up":""
            },
            "electric_status":"ok",
            "environment_status":"ok"
        },
    "Server":
        {
            "BES_status":"ok",
            "server_status":"ok",
            "backup_status":"ok",
            "app_status":"ok"
        },
    "remark":"邮箱已检查备份情况！",
    "key":"gaeaBiLDcCnlYXMQ"
}